package cn.pengyinrui.department.constants;

//系统常量
public class BaseConstants {

    //店铺状态
    public class  Shop{
        public static final int STATE_WAIT_AUTID = 1 ; //"待审核";
        public static final int STATE_WAIT_ACTIVE = 2 ; //"审核通过，待激活";
        public static final int STATE_ACTIVE_SUCCESS = 3 ; //"激活成功";
        public static final int STATE_REJECT_AUDIT = 4 ; //"驳回";
    }

    //员工状态
    public class Employee{
        public static final int STATE_NORMAL = 1 ; //"正常",
        public static final int STATE_LOCK = 2 ; //"锁定",
        public static final int STATE_LOGOUT = 3 ; //"注销"
        public static final int STATE_NO_ACTIVE = 4 ; //"未激活"
    }

    //用户状态
    public class User{
        public static final int STATE_NORMAL = 1 ; //"正常",
        public static final int STATE_LOCK = 2 ; //"锁定",
        public static final int STATE_LOGOUT = 3 ; //"注销"
        public static final int STATE_NO_ACTIVE = 4 ; //"未激活"
    }
    //登录状态
    public class Logininfo{
        public static final int TYPE_MANAGER = 0 ; //"管理员",
        public static final int TYPE_USER = 1 ; //"用户",

        public static final int DISABLE_NOT_USE = 0 ; //"账号不可用"
        public static final int DISABLE_USE = 1 ; //"账号可用"

        public static final int TOKEN_TIME = 30 ; //"token存在30分钟"
    }

    //验证码
    public class Vcode{
        public static final String REGISTER = "-register" ; //"注册key的标识",
        //public static final String REGISTER_EMAIL = "-registerEmail" ; //"邮箱注册key的标识",
        public static final String REGISTER_TIME = "registerTime" ; //"注册发送短信时间key的标识",
        public static final long PICTURE_OUT_TIME = 5L ; //"图形验证码过期时间"
        public static final long MESSAGE_OUT_TIME = 3L ; //"短信验证码过期时间"
    }
}